﻿using System;

namespace Nop.Core.Domain.Orders
{
    public partial class ThirdPartyShippingOption : BaseEntity
    {
        /// <summary>
        /// The numbers of package
        /// </summary>
        public virtual int PackageCount { get; set; }

        /// <summary>
        /// Spotshub order identifier
        /// </summary>
        public virtual int OrderId { get; set; }
        
        /// <summary>
        /// Total amount of shipping
        /// </summary>
        public virtual decimal Rate { get; set; }

        /// <summary>
        /// The email who place third party order
        /// </summary>
        public virtual string CustomerEmail { get; set; }

        /// <summary>
        /// Customer shipping address -- receiver address
        /// </summary>
        public virtual string ShippingAddress { get; set; }

        /// <summary>
        /// The billing address usually is warehouse address for pick up
        /// </summary>
        public virtual string BillingAddress { get; set; }

        /// <summary>
        /// Shipping option name
        /// </summary>
        public virtual string Name { get; set; }

        /// <summary>
        /// Computation method name
        /// </summary>
        public virtual string ShippingRateComputationMethodSystemName { get; set; }

        /// <summary>
        /// The UTC time to create this shipping option
        /// </summary>
        public virtual DateTime CreatedOnUTC { get; set; }

        /// <summary>
        /// Spotshub order
        /// </summary>
        public virtual Order Order { get; set; }
    }
}
